package com.orcsun.lucy8;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JTree;

public class Lucky8 {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Lucky8 window = new Lucky8();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public Lucky8() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setTitle("\u4E8C\u624B\u8F66\u4EA4\u6613\u7CFB\u7EDF");
		frame.setBounds(100, 100, 1044, 504);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JMenuBar menuBar = new JMenuBar();
		frame.setJMenuBar(menuBar);
		
		JMenu menu_buyandsell = new JMenu("\u8FDB\u9500\u7BA1\u7406");
		menuBar.add(menu_buyandsell);
		
		JMenuItem mntmNewMenuItem = new JMenuItem("\u6536\u8D2D\u5F55\u5165");
		menu_buyandsell.add(mntmNewMenuItem);
		
		JMenuItem mntmNewMenuItem_1 = new JMenuItem("\u9500\u552E\u66F4\u65B0");
		menu_buyandsell.add(mntmNewMenuItem_1);
		
		JMenuItem menuItem_1 = new JMenuItem("\u5E93\u5B58\u67E5\u8BE2");
		menu_buyandsell.add(menuItem_1);
		
		JMenu menu_lease = new JMenu("\u5206\u671F\u8D37\u6B3E");
		menuBar.add(menu_lease);
		
		JMenuItem menuItem_2 = new JMenuItem("\u65B0\u8D37\u6B3E\u5F55\u5165");
		menu_lease.add(menuItem_2);
		
		JMenuItem menuItem_3 = new JMenuItem("\u8FD8\u8D37");
		menu_lease.add(menuItem_3);
		
		JMenu menu_buslog = new JMenu("\u4E1A\u52A1\u6D41\u6C34");
		menuBar.add(menu_buslog);
		
		JMenuItem menuItem_4 = new JMenuItem("\u6D41\u6C34\u5F55\u5165");
		menu_buslog.add(menuItem_4);
		
		JMenuItem menuItem_5 = new JMenuItem("\u65E5\u5FD7\u67E5\u8BE2");
		menu_buslog.add(menuItem_5);
		
		JMenu menu_help = new JMenu("\u5E2E\u52A9");
		menuBar.add(menu_help);
		
		JMenuItem menuItem = new JMenuItem("\u5173\u4E8E");
		menu_help.add(menuItem);
		
		JPanel statusPane = new JPanel();
		frame.getContentPane().add(statusPane, BorderLayout.SOUTH);
	}

}
